package com.imooc.shoufang.repository;

import com.imooc.shoufang.entity.HousePicture;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by zghgchao 2018/1/18 21:48
 */
public interface HousePictureRepository extends CrudRepository<HousePicture,Long> {
    List<HousePicture> findAllByHouseId(Long id);
}
